package com.bw.trade.controller;


import com.bw.trade.monitor.MqRepayment;
import com.bw.trade.pojo.TbRefoundLog;
import com.bw.trade.service.TbRefoundLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 还款记录表 前端控制器
 * </p>
 *
 * @author lv
 * @since 2021-03-23
 */
@RestController
@RequestMapping("/tb-refound-log")
public class TbRefoundLogController {

    @Autowired
    private TbRefoundLogService refoundLogService;
    @Autowired
    private MqRepayment mqRepayment;

    @GetMapping("/list")
    public List<TbRefoundLog> list(){


        return refoundLogService.list();
    }

}
